<?php


require_once '../function.php';

$id = $_GET['id'];

$row = xiu_IDU('delete from comments where id in (' . $id . ');');

header('Content-Type:text/json');
echo json_encode($row>0);